using System;
using System.Collections.Generic;

namespace NServiceBus.Management.Messages.Status
{
    [Serializable]
    public class StatusMessage : IMessage 
    {
        public DateTime CreatedAt { get; set; }

        public string EndpointName { get; set; }

        public string EndpointId { get; set; }

        public string HostName { get; set; }

        public string InputAdress { get; set; }

        public int NumberOfWorkerThreads { get; set; }

        public List<Type> MessageTypes { get; set; }

        public Status EndpointStatus { get; set; }


        public enum Status
        {
            Created = 0,
            Stopped,
            Running
        }
    }
}